package com.snopy.order.mapper;

import com.snopy.order.pojo.OrderStatus;
import com.snopy.order.pojo.vo.MyOrdersVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author snopy
 * @version 1.0.0
 * @classname OrdersCustomMapper
 * @description
 * @email 77912204@qq.com
 * @date 2020/10/13 7:18
 */
public interface OrdersCustomMapper {

   public List<MyOrdersVO> queryMyOrders(@Param("paramsMap") Map<String, Object> map);

   public int getMyOrderStatusCounts(@Param("paramsMap") Map<String, Object> map);

   public List<OrderStatus> getMyOrderTrend(@Param("paramsMap") Map<String, Object> map);

}
